.PHONY:all
all:server client

Lib=-ljsoncpp

server:ServerCalculator.cc
	g++ -o $@ $^ -std=c++11 $(Lib)

client:ClientCalculator.cc
	g++ -o $@ $^ -std=c++11 $(Lib)

.PHONY:clean
clean:
	rm -f server client